package com.buer.train.business.dao;

import com.buer.train.business.domain.TrainingDO;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

/**
 * 培训表
 * @date 2021-05-24 16:04:11
 */
@Mapper
public interface TrainingDao {

	TrainingDO get(Integer id);
	
	List<TrainingDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(TrainingDO training);
	
	int update(TrainingDO training);
	
	int remove(Integer id);
	
	int batchRemove(Integer[] ids);

    List<TrainingDO> getTrainingList(Map<String, Object> map);

    TrainingDO getOne(Map<String, Object> map);
}
